package cn.cn.duotai3.java;

public class add extends Calcolator {


    public add(int num1, int num2) {
        super(num1, num2);
    }

    public int add() {
        int result = num1 + num2;
        System.out.print("结果是："+result);
        return result;
    }


}
